from system.menu.models import Menu
from utils.viewset import CustomModelViewSet
from system.menu.serializers import ButtonCreateSerializer


class MenuButtonViewSet(CustomModelViewSet):
    """
    菜单按钮接口
    create:新增
    update:修改
    """
    queryset = Menu.objects.all()
    serializer_class = ButtonCreateSerializer
